@extends('frontend._layouts.base')

@section('content')
	<? foreach( $page->rows()->get() as $row):?>
		<div class="row content-row">
			<? foreach($row->blocks()->get() as $block):?>
				<div class="col-lg-<?=$block->span?> col-md-<?=$block->span?> col-sm-<?=$block->span?> col-lg-offset-<?=$block->offset?> col-md-offset-<?=$block->offset?> col-sm-offset-<?=$block->offset?> content-block"><?=$block->content?></div>
			<? endforeach;?>
		</div>
	<? endforeach;?>
@stop